<%@ page contentType="text/html;charset=utf-8" language="java"
	pageEncoding="UTF-8" import="java.util.Date"%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>产品研发系统</title>
       <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="ico/favicon.html">
    <link href="css/bootstrap.css" rel="stylesheet">
      <link href="css/ico.css" rel="stylesheet">
    <link href="css/theme.css" rel="stylesheet">
    <link href="css/font-awesome.min.css" rel="stylesheet">
    <link href="css/alertify.css" rel="stylesheet">
    <link rel="Favicon Icon" href="favicon.ico">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body style="padding-left:0px;padding-right:0px">
    <div id="wrap" style="color:#292A2F;background-color:#292A2F">
   
    <div class="container-fluid">
     
      <!-- Side menu -->
      <div class="sidebar-nav nav-collapse" style="overflow:visible">
        <div class="user_side clearfix" >
        <img alt="" src="images/t01.png">
          <h5 >${model.erpUser.realName}</h5>
          <a href="#" class="text-center" style="text-align:center">系统管理员</a>        
        </div>
        <div class="accordion" id="accordion2">
        <c:forEach items="${model.menus}" var="item" varStatus="itemStatus">  
           <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F79999 collapsed"  data-toggle="collapse" data-parent="#accordion2" href="#collapse${item.erpAdminMenu.id}">
              	<i class="${item.erpAdminMenu.menuIco}"></i><span>${item.erpAdminMenu.menuName}</span>
              	<c:if test="${item.erpAdminMenu.isDisMenu==1}"><i class="jt"></i></c:if>        
              </a>
            </div>
            <c:if test="${item.erpAdminMenu.isDisMenu==1}">
	            <c:forEach items="${item.items}" var="citem" varStatus="itemStatus">
		            <div id="collapse${item.erpAdminMenu.id}" class="accordion-body collapse">
		              <div class="accordion-inner">
		                <a class="accordion-toggle" href=${citem.menuUrl} target="mainFrame">${citem.menuName}</a>
		              </div>
		            </div>
	            </c:forEach>
            </c:if>      
          </div>
        </c:forEach>
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F79999 collapsed"  data-toggle="collapse" data-parent="#accordion2" href="#collapse1">
              <i class="ico_6_09"></i><span>产品统计</span>
             
              </a>
            </div>
            <div id="collapse1" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="welcome" target="mainFrame">产品总览</a>
                <a class="accordion-toggle" href="welcome" target="mainFrame">产品统计</a>
              </div>
            </div>
          </div>
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_C3F7A7 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse2"><i class="ico_2_18"></i> 
              <span>基础档案</span>
               <i class="jt"></i>
              </a>
            </div>
            <div id="collapse2" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="welcome" target="mainFrame">项目管理</a>
                <a class="accordion-toggle" href="welcome" target="mainFrame">品类管理</a>
                <a class="accordion-toggle" href="welcome" target="mainFrame">产品管理</a>
                <a class="accordion-toggle" href="welcome" target="mainFrame">角色管理</a>
                <a class="accordion-toggle" href="set/user/index" target="mainFrame">用户管理</a>
                <a class="accordion-toggle" href="welcome" target="mainFrame">产品节点设置</a>
                 <a class="accordion-toggle" href="welcome" target="mainFrame">邮件模板设置</a>
              </div>
            </div>
          </div>
          
          
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F79999 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse3">
              <i class="ico_2_10"></i><span>产品规划</span>
               <i class="jt"></i>
              </a>
            </div>
            <div id="collapse3" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="ui_features.html">产品总览</a>
                <a class="accordion-toggle" href="forms.html">产品统计</a>
             <!--    <a class="accordion-toggle" href="forms.html"><i class="ico_2_08"></i>产品统计</a>-->   
              </div>
            </div>
          </div>
          
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse2"><i class="ico_2_07"></i> <span>Components</span></a>
            </div>
            <div id="collapse2" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="notifications.html"><i class="ico_2_06"></i> Notifications</a>
                <a class="accordion-toggle" href="calendar.html"><i class="ico_2_05"></i> Calendar</a>
                <a class="accordion-toggle" href="gallery.html"><i class="ico_2_04"></i> Gallery</a>
              </div>
            </div>
          </div>
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F6F1A2" href="tasks.html"><i class="ico_2_03"></i> <span>Tasks</span></a>
            </div>
          </div>
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_C1F8A9" href="analytics.html"><i class="ico_2_02"></i> <span>Analytics</span></a>
            </div>
          </div> 
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="tickets.html"><i class="ico_2_01"></i> <span>Support Tickets</span></a>
            </div>
          </div> 
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F5C294" href="users.html"><i class="ico_5_19"></i> <span>Users</span></a>
            </div>
          </div>      
        </div>
      </div>
   
      
    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->


   



  <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="js/raphael-min.js"></script>
    <script type="text/javascript" src="js/bootstrap.js"></script>
    <script type="text/javascript" src='js/sparkline.js'></script>
    <script type="text/javascript" src='js/morris.min.js'></script>
    <script type="text/javascript" src="js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="js/jquery.knob.js"></script>
    <script type='text/javascript' src='js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="js/realm.js"></script>
    <script type="text/javascript" src="js/jquery.slimscroll.min.js"></script>
   <script type="text/javascript">
	$(function(){	
		//导航切换
		$(".accordion-inner a").click(function(){
			$(".accordion-inner a.sidebaractive").removeClass("sidebaractive")
			$(this).addClass("sidebaractive");
		});
	})	
	function onechangClass(id){
		if($("#item_"+id).is(':visible')){
			$("#item_"+id).hide();
		}else{
			$("#item_"+id).show();
		}
	}
</script>

  </body>
</html>
